.class public Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;
.super Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static c:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;


# instance fields
.field private A:Lcom/waiqin365/compons/view/c;

.field private B:Landroid/content/BroadcastReceiver;

.field a:[Ljava/lang/String;

.field b:Ljava/lang/String;

.field public d:Landroid/os/Handler;

.field public e:[Ljava/lang/String;

.field private f:Lcom/waiqin365/lightapp/view/GridViewInScrollView;

.field private g:Ljava/lang/String;

.field private h:Landroid/widget/Button;

.field private i:Landroid/widget/Button;

.field private j:Lcom/hyphenate/chat/EMGroup;

.field private k:Lcom/waiqin365/lightapp/im/activity/cn;

.field private l:I

.field private m:I

.field private n:Ljava/util/ArrayList;

.field private o:Landroid/widget/ImageView;

.field private p:Z

.field private q:Ljava/util/List;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/RelativeLayout;

.field private t:Landroid/widget/RelativeLayout;

.field private u:Landroid/widget/TextView;

.field private v:Ljava/lang/String;

.field private w:Landroid/widget/TextView;

.field private x:I

.field private y:Lcom/waiqin365/lightapp/im/activity/cs;

.field private z:Landroid/content/Context;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->b:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/im/activity/ci;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/im/activity/ci;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->d:Landroid/os/Handler;

    new-instance v0, Lcom/waiqin365/lightapp/im/activity/bt;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/im/activity/bt;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->B:Landroid/content/BroadcastReceiver;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    return-object p1
.end method

.method private a([Ljava/lang/String;)V
    .locals 2

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/cm;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/im/activity/cm;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;[Ljava/lang/String;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->p:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->g:Ljava/lang/String;

    return-object v0
.end method

.method private c()V
    .locals 2

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/cc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/cc;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    return-object v0
.end method

.method private d()V
    .locals 2

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/cf;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/cf;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Lcom/waiqin365/lightapp/im/activity/cn;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->k:Lcom/waiqin365/lightapp/im/activity/cn;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Lcom/hyphenate/chat/EMGroup;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    return v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->w:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->c()V

    return-void
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->d()V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->u:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->h:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->i:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->o:Landroid/widget/ImageView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMGroup;->getGroupId()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->dismissProgressDialog()V

    const v0, 0x7f080692

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/bz;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/im/activity/bz;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Ljava/lang/String;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method protected a(Ljava/util/List;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    const v1, 0x7f0806a3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->setCanceledOnTouchOutside(Z)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->show()V

    new-instance v1, Ljava/lang/Thread;

    new-instance v2, Lcom/waiqin365/lightapp/im/activity/bu;

    invoke-direct {v2, p0, p1, v0}, Lcom/waiqin365/lightapp/im/activity/bu;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Ljava/util/List;Lcom/waiqin365/compons/view/a;)V

    invoke-direct {v1, v2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method protected b()V
    .locals 2

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/bq;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/bq;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method public back(Landroid/view/View;)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "groupname"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "groupSize"

    iget v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public exitDeleteGroup(Landroid/view/View;)V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    const v2, 0x7f0802f7

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    const v3, 0x7f0802f4

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/im/activity/by;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/im/activity/by;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method public exitGroup(Landroid/view/View;)V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    const v2, 0x7f0802f7

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    const v3, 0x7f0802f6

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/im/activity/bx;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/im/activity/bx;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4

    const/4 v1, 0x0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    new-array v0, v1, [Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a:[Ljava/lang/String;

    const-string/jumbo v0, "newmembers"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringArrayExtra(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a:[Ljava/lang/String;

    const v0, 0x7f08001f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a:[Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a([Ljava/lang/String;)V

    goto :goto_0

    :pswitch_1
    const v0, 0x7f0802a3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->c()V

    goto :goto_0

    :pswitch_2
    const v0, 0x7f08027c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->d()V

    goto :goto_0

    :pswitch_3
    const v0, 0x7f0800a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a()V

    goto :goto_0

    :pswitch_4
    const-string/jumbo v0, "groupname"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const v1, 0x7f080555

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :pswitch_5
    const-string/jumbo v0, "selectempInfos"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v2, v1

    :goto_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-ge v2, v1, :cond_2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->x:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->x:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :cond_2
    if-eqz v3, :cond_0

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->a(Ljava/util/List;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public onBackPressed()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "groupname"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "groupSize"

    iget v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "groupname"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, 0x4

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f08054d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->p:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->g:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/waiqin365/lightapp/im/domain/c;->a()Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/im/domain/c;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/domain/c;->a(Ljava/util/List;)V

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->p:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->g:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/waiqin365/lightapp/im/domain/c;->a()Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/im/domain/c;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/domain/c;->a(Ljava/util/List;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->p:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c077b -> :sswitch_0
        0x7f0c077f -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/16 v5, 0x8

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030143

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->setContentView(I)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->z:Landroid/content/Context;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    invoke-static {}, Lcom/waiqin365/lightapp/im/domain/c;->a()Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/im/domain/c;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/domain/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/domain/c;->b()Ljava/util/List;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    move v0, v1

    :goto_0
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v3

    if-ge v0, v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->q:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    sput-object p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->c:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    new-instance v0, Landroid/content/IntentFilter;

    const-string/jumbo v2, "im.groupinfo"

    invoke-direct {v0, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->B:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v2, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    new-instance v0, Lcom/waiqin365/lightapp/im/activity/cs;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/im/activity/cs;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->y:Lcom/waiqin365/lightapp/im/activity/cs;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->y:Lcom/waiqin365/lightapp/im/activity/cs;

    invoke-virtual {v0, v2}, Lcom/hyphenate/chat/EMGroupManager;->addGroupChangeListener(Lcom/hyphenate/EMGroupChangeListener;)V

    const v0, 0x7f0c0779

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/GridViewInScrollView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->f:Lcom/waiqin365/lightapp/view/GridViewInScrollView;

    const v0, 0x7f0c077a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c0780

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->s:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0781

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->h:Landroid/widget/Button;

    const v0, 0x7f0c0782

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->i:Landroid/widget/Button;

    const v0, 0x7f0c077f

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->o:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f020237

    invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v3

    iput v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->l:I

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->m:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v3, "groupId"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->g:Ljava/lang/String;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    const v0, 0x7f0c0777

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->r:Landroid/widget/TextView;

    const v3, 0x7f0802c8

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->v:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v3}, Lcom/hyphenate/chat/EMGroup;->getMembers()Ljava/util/List;

    move-result-object v3

    invoke-direct {v0, v3}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v3}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v3}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v1, v3}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    :cond_1
    const v0, 0x7f0c0778

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->w:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    iget v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->w:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "("

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget v4, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->x:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    const v0, 0x7f0c077b

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->t:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->t:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c077e

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->u:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->u:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    const v0, 0x7f0802c7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v3}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    const v0, 0x7f08030b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, ""

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->h:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setVisibility(I)V

    :cond_4
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->getCurrentUser()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMGroup;->getOwner()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->h:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    :cond_5
    new-instance v0, Lcom/waiqin365/lightapp/im/activity/cn;

    const v1, 0x7f030166

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->n:Ljava/util/ArrayList;

    invoke-direct {v0, p0, p0, v1, v2}, Lcom/waiqin365/lightapp/im/activity/cn;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;Landroid/content/Context;ILjava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->k:Lcom/waiqin365/lightapp/im/activity/cn;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->f:Lcom/waiqin365/lightapp/view/GridViewInScrollView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->k:Lcom/waiqin365/lightapp/im/activity/cn;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/GridViewInScrollView;->setAdapter(Landroid/widget/ListAdapter;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->s:Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/bo;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/bo;-><init>(Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_2
    return-void

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->j:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_7
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->finish()V

    goto :goto_2
.end method

.method protected onDestroy()V
    .locals 2

    invoke-super {p0}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;->onDestroy()V

    const/4 v0, 0x0

    sput-object v0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->c:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->y:Lcom/waiqin365/lightapp/im/activity/cs;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMGroupManager;->removeGroupChangeListener(Lcom/hyphenate/EMGroupChangeListener;)V

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->B:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
